added general config (currently buggy)