The working script