Removed a stray $location injection.
Renamed assignment sound to nameSound.