fixed the scripts, made some examples