Changed scan transient time to be based on maximum execution time.