Fix pack.sh permisions