Added argument parsing with optimist.