doCustomReplacements if function exists