fixing emmc scripts