Use cargo run in more places

Since cargo run is more convenient than cargo build, I think it is a good idea to use it as much as possible.