an extended working script