Thanks! Amended with some additional quote escaping