removed deprecated functions from get-profiles script