added license to main php script