Now adding resources only if they have an URL