basepath=$(cd `dirname $0`; pwd)
echo $basepath