Updated with pyprogress bar