root to script