reverting change to use $(TOP) since when called from outside the directory this is not working