Remove whitespace
Check that license is accepted if required