Wasn't starting properly because apparently I don't know how to write shellscripts. oops