Add init script, maybe some nacl optimisation