Added flags to enable/disable tools,pagination