for source install_mode