install_agent.py some polyglot effected errors corrected