Merge settings into utils to prevent race conditions