added script to buildpage