set mode -x on first run