add build scripts
porting to PCF