basic script working