Created new functions folder. Folders are now created properly and files downloaded.