adjusting script to prod