restructureForCompliance: drop .sh extension, bracket and quote variables