The object passed to the scripting capability is very limited. I would like to request that an obj.date be added. This would correspond to the creation date of the physical file (result of calling stat on the file). (Not to be confused with obj.meta[M_DATE])
This would allow the scripting to build the tree based on the date of the files rather than relying on id3 tags and/or encoding the date into the filename (obj.location).