implement build and run in up command