Quick error cleanup
Hooked up inputs and outputs