add main scripts