avoid firefox script timeout
fix firefox start script mode