fixed installation and start/stop agent