added hotkey support