script written