add autoload in sub-shell