Added tab functionality / SQL escape