Added main script.