Reset criteria function and stylesheet modifications;