Final script seems to work...