added escape character so that log file gets written on pacman