Removing pyc files and changed permissions