prod version of script