hybrid and speedup script