added script to check out of office state