Refactoring script PEP8
Identation bug path fixed