Added music and fixed issues with energy scripts