Set stacksize to unlimited in environment.
Move transfer commands to dedicated script, and