startup path code improved.