updated to take hipchat and email configurations on command line