Fix scripts to comply with PEP8 1.5.0