Update scripts way of finding their directory