added restart routine
handles nodejs files without an extension
added https