move init_import out of deploy