removed metadata folder; added ip select method