Update generic.functions.sh

Changing function name