added php assembly, control main to build