Several updates to agent and backend scripts

-dispo on end call/caller hung up
-lead changes
-beautify interaction form