Added check for run from sub folder, updated docs