improving import to remember the cwd so it can be implicitly used by resources later