Initial modification of form with custom functions