changed to handle multiple websites