Adds missing $ to variable name; Change mv to cp for PMA. Fixes #429