updated working scripts
fixed example