static dirname changed to input value in generated source
0.5.0