cleaned up entry.sh