correctly escape quotes
remove uncessary path