update some scripts, remove debug output