bugfix. Wrong file check in installscript