some scripts for Saving Joshs work