changed directory and script perms