second attempt at auto-reload