- script added to fix issues with preview and broken url pattern