Add the agent scripts to cmake

refs #7243