add else statement to local_delivery check