change behavior of file configure and change premission of file install-check