[#2] Implement proper redimap params.

Use `optparse` to process params nicely.