auto compilation of commands