fix spinup script