move plugin scripts to file repo and use short index path