Disabling” Launch Services File Quarantine

Has anyone written a workflow to remove the warning that you receive from downloading files from the internet. This dialog is a one of Leopard’s new security features called “File Quarantine” and is primarily designed to protect users from trojan horse attacks. Any application that may download file content from the Internet can tag them as being “quarantined” to indicate that the it may be from an untrustworthy source. The problem is that files that I download commonly always have this warning popping up and its a pain for my hazel rules to open the files because they either get stuck because the warning comes up or the warning doesn't show up everytime and the program just stalls out.
I'm currently trying to do it by specifying extensions that are safe then running an applescript, but I think I have an error in my applescript.
tell application "Terminal"
activate
do shell script "xattr -d com.apple.quarantine $1"
end tell
Anyone's help would be much appreciated.
Background Info:
http://henrik.nyh.se/2007/10/lift-the-leopard-download-quarantine
http://theappleblog.com/2008/03/26/disabling-launch-services-file-quarantine/
I'm currently trying to do it by specifying extensions that are safe then running an applescript, but I think I have an error in my applescript.
tell application "Terminal"
activate
do shell script "xattr -d com.apple.quarantine $1"
end tell
Anyone's help would be much appreciated.
Background Info:
http://henrik.nyh.se/2007/10/lift-the-leopard-download-quarantine
http://theappleblog.com/2008/03/26/disabling-launch-services-file-quarantine/