Update command-line tool to support cropping