Improved ResourcesMgr