add command line args for licence file and run on server