Fix notice if you invoke from bin