Rearrange python sls