CSPACE-5953,CSPACE-5976: Script now accepts an input directory.