add auto save and auto byte compile