Switching toggle quotes function for lib