got it working for simple index files as apreview in the background :)