Added maintain day

maintain day plus pother minor changes