Changing scripts permissions