Added logic to hook handler to trigger builds.