Accept target directory as argument