Added ability to change cookie name