Fixed path issues with directory-based commands
Added mkdir