Changed mode for RPi, updated curl sed