added externals option