Added defaults for parameters and updated the license