Make generator to use reletive path