fixed some variables, small refactor

if you're using Transmission in Windows to test use the .bat file instead of building install scripts ;)

Hardlinking still not working :(