Added safety check for symlinks and simplified script call

The symlinks script can now be executed multiple times without it
messing up anything.
It is also now easier to call the script (you can directly call it instead of reading it into variable and executing the variable which was needed because of wrong extension on script).