toup script modified for eppic-2.1.2 varsion