remove base path of runcommand calls