Made settings changable from settings panel.