run script and init of variable