preview.command replaced with preview.py