changes to make links easier and some updates to the script