Initial commit: basic python script + adaptation rules