Added in mask modifier masks to send_key functions