Implement auto invocation of sudo and cleanup indentation