commented and cleaned up some scripts