added escaping to copy db script for container