Keeping it DRY
Push local done.
Accounted for static, made push more flexible.