add defaults to plscript
clean up