Corrected semi colon in bash scripts bug