added --dev option