This program writes to a file called "test1" where it should write to "works.txt".
attribute test1 filename="works.txt" program write (test1) "hello world" end program