Changing semicolon in environment to newline \n