Resource references should now be capitalised

Updated so up to date syntax is used. Now lints without warning or error