automatically save module load changes [#489]