add new main scrip