Put these files in the RetroPie/roms/ports folder
Give them execute permissions on the scripts, for example 777
Does the target folder need 777 permissions too?

