add galen command to text file