Move utility scripts from core