Add some code for run admin.