Fixed END rule printed after exit
Marked license parameter as optional in usage