fix: include 'type' when set --auto-remote
Also try to use expression and source_lang_code to find source file
Merge branch 'fix_config_setup'