added additional parameters to be more flexible at runtime: -sp show preprocessed img, -lf load flow