Removed subprocess calls