Transitional stuff... most things are still broken.
Kludgy script fixes to make them work with the static/dynamic system.