Commit the resources