add deploy script
removed endless while loop