Improved statup script