Added preview functionality, windows only for now