Fixed cpio index file
Improved scripts, now bash is not static anymore