Change `execute($query)`  method to `executeQuery($query)` to avoid conflicts with Commander `execute($command)` method.