wrap cmd line stuff