load modules when running elixir file from IntelliJ

I am trying to seed a database using Elixir, the Elixir file is being run from Intellij. The import directives are failing with the following message when I run the file.

(CompileError) seed_file.ex:24: module Ecto.Changeset is not loaded and could not be found

What do I need to do have the modules loaded before the file is run?

Thank you.