preparation for deploy