automatically regenerate in development