Adding command to heartbeat