Pre-resources.lua update