new script for hiding output on success