added purgeconfig