Load SG-specific scripts and fix crash