updated compilation script and license