Edited links and tried to fix script