Changed package path argument to list of packages/paths, evaluated in order for templates
Minor tweaks based on motoman package generation