data init
script mode