Fixed bug related to rewriting session variable. Fixed package name