Create generic_functions.sh