NO_INIT=0
CLEAN=0
FLAGS=""

# read options
TEMP=`getopt -o s:ncl: --long subdir:,flags:,no-init,clean,lab: -n $0 -- "$@"`
eval set -- "$TEMP"

# extract options and their arguments
while true ; do
    case "$1" in
        -s|--subdir)