fix and document deployment