add shared util script
update linux config
bugfixes