[ADD] Generate records script