Resources are now determined from code