BUIld script fixes for creating a prod version.