better clean buil with -rf
using tee is better for logging and input/output interaction