change baseagent and graphicsscene