Perfect orders code from running on non order pages