changing permissions and perl binary