script simplified