and also this script at the end of the pages: