changing start script structure