fixed bashed script