escaped the special characters and added a dot

Minor fixes on the script.