Move getCEStatus to remote script