initial fix permissions script