add main script to repo