only load modules in interactive shells