Fix routes in some scripts