my working script