first version of click once script.