Assuming the script is right (I can't tell from what you've said), it's possible Finder hasn't refreshed properly. Try Control-Option-Clicking its dock icon and choosing "Relaunch".
If that doesn't work, please describe what you've done in the script (and the order of the commands).
Thanks!
__________________
--Dave Nanian
|