Adding script for refistration form