Fixed not checking that the user can change into a directory
Added quiet mode to hide warnings