added check to new lib dir for passenger