Make check.sh independant from initial pwd