Fixed admin generator to allow removing the admin (using it with -d). It currently fails.