Small corrections

Change backslashes to forward slashes, uncomment if statement, delete
far near repetition in function name