fix destroy method name, and add print statements.
add in transient parameters specified on the command line into the generattion of the context.