Improved make_resouce() hashing method