Optimise Command Integration with GUI