Epi_curl functionality, grab id function, iffy

Really pretty crappy code...