Updated the CustomList function from FMCustomFunctions.com