2fa1f0
increased sleep interval to avoid load issues, initialized variables in the begining to avoid bash error