fix permissions on .sh files, and attr when ready syntax