add an option to use relative path. this could be helpful for portable purpose.