Updated scripts.
Migrated ruby convention.