Added script for linux, tools included, small bugfixes
small bugfixes