Added a critical stock feature and upload facility.