added diary script