First run of yfs functions