python script changes, autoslope not working