moved the require yaml to the proper place