Add url to preview

Adds an optional URL argument to preview();
 
**Status**: *Ready for review*
 
**Reviewers**: @scalvert 
 
## Changes
- adds better comments and an optional URL argument
 
## How to test-drive this PR
- use preview as always. It should work
- try a specific URL. It should still work