Completed agents registration script