-resize command line argument for automatically resize