parameters for graphs sorta done. csv added but doesn't work yet.