Made install executible
Fixed if statements, ln arg order