Fix: make sure to extract all options from the command
Make sure local variables are assigned blank values in another function otherwise a global var might pop-up