improved handling of paths with spaces in them for project prompt