Fix start.sh script due to bad pid calculated