Resource specific engine patch

just a switch
Merge pull request #131 from jkroso/master

engine priority