fixed permisions for compile script