added global settings and ping