add a script for job scheduling