Start function and cmd args