Fix issues that arose from custom filesys_img, copy script from class directory that does it for us properly.