replace spaces for _ and quotes