the init function now bashes instead of sourcing scripts. Otherwise the label detection rules with echo in them didn't work
Changed ~ to