Changes done to call create of flight and flight segment through stored proc.