Added preview scene code