added statusmail script