syncs custom_profiles, uses pexpect, among other improvements