shorter main(), add dev run