Fixed exception class, fixed deploy script target environment bugs
Added configurable date / time formatting