• The format problem is resolved. The script in the original post should work now.