Reworked python and bash license handling