modify path before attempting code access