implemented is_global_install() and read_Y_n()