Fixed style issues with indent being a multiple of 4
Added script to check for duplicate agents and some cleanup