Added more parameters to executeCommand

These parameters are required for our use case.