fixed spinup script