write logs to page in attempt to see whats wrong