added a disable sleep variable