script for measuring pilotstartup time