can accept folder target from commandline