install agent if not available