switches to use package instead of exec