fixed admin scripts