take the wxh from the command line