Added quite brutal extraction of cmd line args