script buil dataset