corrected a hardcoded folder in main script