Remote autoload for non-interactive function
Rearrange function definitions