Fixes #60: Alarm now says alarm, not alert.
Fixes #49: Now can run startup functions.
Made sure new file only happens with defined types.