more fixes to runtime plot scripts