Correcting config() call to have uri as parameter