License + artifact attaching fix

- Added license to the source files
- Attaching generated plan to artifact