No script as far as I'm aware.
Quote from jfourman, found in another thread on this in 5 seconds:
(
http://www.droidforums.net/forum/cvpcs/56869-anyone-have-apps2sd-running-working.html)
"If you have a Froyo ROM installed, you can install apps to your SDCard. If you are rooted, try to change this setting as follows (credit to another poster):
go to a terminal emulator and enter
su (enter)
pm setInstallLocation 2 (enter)
It will do nothing just exit.
U can now move most apps to sd card under settings.manage apps. Move to sd card!
May be issues like widget doesn't load. So try it and discuss!
Must be running froyo, must be rooted, follow command exactly.
Update*
After playing with it for a few hours I suggest only changing apps that are standalone such as games.
Leave the home replacements, active task killers, widgets or anything running in the backround.
After a reboot it may look like ur apps are gone. Just give them time to load from the sd card.
Don't move apps with widgets to the SDCard. All apps will now install to the SDCard. You can move them back to the phone in the Application Manager.
I have over half of my apps running from the SDCard and see no difference in performance. My only issue is that I use ADW Launcher and it takes a little while after a reboot for the apps to show in the drawer. "