Added automoog routines