adding --num options to up and down scripts