Added copyright, license, and fixed lib_com.sh