added working script