Added stage variable which will likely go unused by most users