Added a way to override the package name.

In a special case we needed to override the package name, so we added a way in order to achieve that.