Add win_messages + exec script function