added dir to front of cmd