better admin scripts with debug info