First Version of script