Add a resource manually