minimal working script