Added attachment support (v1)
Fixed error loading form data