Updated build script to be more robust. Updated license, changelog and notes