Added --platform param to the agent initialization