Enabling scripts in Portfolio 4.0.1 and later [FR]