removed base, fixed run.sh run-time bugs
minor run.sh changes