new script added for tail -f