Bug with slash escaping corrected and some exaptions added