Removed watchdog
Changed type to 'file' and moved watchdog statement to bottom of submit function.