do config just before push