Even more adjustments to resmue. Thanks @objectiveben!