Added Apache License test to linconfig.sh. MIsc other changes