added loop.sh