fixing other plotting scripts