writing script..