refixing deploy-doc script