USAGE in before function and changed %n, %t for \n, \t