Used tail to arrange commands in bootsync.sh correctly