Modification to override-resources functionality