Cleanup Auto Code