Fixes scriptplan file name issue and bits.patch path issue.