Updated to handle recent additions to notification system. Changed the name of the script from myapp.rb to webhooks.rb