add gateway up/down script