Update includes/functions.sh

Removed a } which was throwing an unexpected error.