some minor script file cleanup