BUGFIXES: some leftover logging statements were removed and an error in the refinement script was fixed