Add get_used_resources