add main and scripts.txt