Fix to custom function caller

Function name was not being detected as it needed to be in lowercase