BST-4241 - Alberto - Added more console log outputs for debugging purposes to prerender