added support for directories with single quote

thanks for your time.