Fix #6 by using relative paths also in bat-creation