add tree & timing commands. fix source error