Fix syntax errors (bkg scripts copying)