Build helper php script