fixing permissions on the instance init script