Fix missing paren
Add glob import
Add write command