changes to admin scripts