Added afterHOURS framework