Fix startup script run check error