Move constants to settings