Fixing subprocess module