adding auto-col finding
fixed imports and added multiple-plot features