Fixing shell scripot