updated to work on new server