updated order syntax as exported resource pattern doesn't seem to be supported with previous syntax.