Login script fix.