Changing script syntactical issues