Added "File.exists?" to check for the presence of the "posts" and "sass" folders