generalize scene loader