SPL copy changes and plugin issues

To be reviewed commit by commit