Amol new autosave directive

no need for function