Updated script engine to support music player

This is getting fun!