Fixed metadata 500 issue by adding metadata lines and not using rootwrap for sudo for quantum user