All works, attach doc to doc button when written.