Created diary script