Small syntax errors in two files

Love these functions :thumbsup: