Added option to store global settings