Move func epic_settings to its own file