added possibilities to load and stream a scan