Added variables initialization to pilot creation