add main-script