Migrated sample/test scripts