plotting script added