write rmprt scope when not debugging