First Version of the Script