Added full support for .ephm
added small amount of testing
change rejection var