Added script for linux, tools included, small bugfixes