Export run and make code clean