complete script, only available for preprod