main script now parses arguments, goes to the partial subdir, and creates dirs if they don't exist