Update permission reset script for CLI .sh files