Bugfixes on new ipagent script
Anonymized ipagent script credential info