fixed admin test routes
fixed script endpoints