script to create Job file