* expand env vars in the command cid. this should fix the issues with replay always killing previous unrelated instances