Judge rules Orchard Park gym no longer needs to abide by executive orders older than 30 days