fixed pkgs_changed not utilised + import bug