fixed bug with path to pool. when run in cron, relative paths dont work