Blender 2.5+ uses an addon system instead so you cant just place the scripts in the scripts directory.
I believe you need to write it as addon.
Dev:2.5/Py/Scripts/Guidelines/Addons - BlenderWiki
Hopefully someone can fix can these for blender 2.5
Also for Blender 2.49b try using python 2.6
I don't think blender 2.49b is fully compatible with 2.7
I could be wrong though.
Do what das says below

