fixed run-class.sh to take absolute paths