Added function to strip comments