fixed routes for script