Major bug fixing in the scripts and audio library. Created two new scripts. Removed legacy code.