change location instead of explicitly load main path