add flags to mkremote.sh