Fixed params to properly running with GUI