add useage of compile, run on starup