reformatted selectors in formscript and implemented debug string