add -i: Fix running from a subdirectory