res file editing via a singleton