generate admin_file for solaris and polish script a bit