Clean up.
Use minimist for setting image path.