spinner if needed; better checks for dev environment