use command line when possible