Create resource.lua