fixed pipeline

fixed a problem with default values when running the pipeline command.
added section to template for setting of variables that are local to a
module.