refactor production install