Changing permissions on test script