script is slightly faster now