main shellscript setup