Added escape sequences

Thanks to dajoh for providing me with a method to make it work well!