added global settings initialisation