Modifies relative paths to import modules