Added hide_resources option