remove executable privilege on some files
better query build