from Richard: file paths error fixed