adjusted running command for the agent