Added the necessary scripts for the reference form