Shift hash perfomance & plot script improvements