Using build command instead of exec