Only import interactive file when running in interactive mode