initial version of d_script scripts