Can be run from the commandline to profile another script