Add basedir to default script