Add support for configurable staging option.
Merge pull request #212 from alimfeld/master

Add support for configurable staging option.