main source and run command