updated model viewing script to new model