use script for more reliablle coordinates