Updated script to create Jenkins job dynamically