add server-side script to cancel jobs