note save working correctly now

Also added require_tree back in