script to initialize the system