'local' does not equal 'Local' so local_disk will never be True as the code stands now