Fix options not being set properly from args