modifiyed the plotscript
added plotscript