removed some debug statements from scripts, merged shell scripts into one