Edited setup script to use readlink which is more available on linux than readpath