tweaked remote commands and added link script