Change POST variable to 'doc'

Fixes #19