FIxed bash scirpt