Added commandline use