setup a config when app instantiates