handle startup from different working directory