Fixed bug when executing smartprites.cmd with options