fixed the script files building the programi