Added additional check to make root folder detection more robust.  Check to make sure that output exists in the current directory.