added plotting scripts