E0d/preview

The PR makes preview work.

The best kind of PR:

 4 changed files with 6 additions and 35 deletions