edit scripts for editExrcise, createExercise