Subject: | scripts backwards compatibility breaks script_files |
The attempt to be backwards compatible breaks script_files.
$p->{scripts} always exists as undef, so this line always blows away any
specified script_files:
$p->{script_files} = delete $p->{scripts} if exists $p->{scripts};
Should be instead:
$p->{script_files} = delete $p->{scripts} if defined $p->{scripts};