flatten script placeholder