Hi
Please find attached patch with fix:Minor changes in template file. Checks were missing for creating packagebody and drop package body.
Please review.
Thanks,Surinder Kumar