fixed typo
added --differentiate option