Adds custom init script

Implements #277