Use path resolve for locations