New helper for moving scripts to modules