Changed command line arg to sql