changed if statement
able to use font script in mac and linux