Replaced the resources