changed pass in option to production boolean