basic script written