add the script that actually does the work