Can't use shell in python script. Fixed updating aparmor files