Added Junk-session placeholder to avoid an unitialised variable warning
Corrected the suntax for dumping data to csv according to the man page for Template::Plugin::CSV
Corrected syntax to check existence of hash key beofre dereferencing it