Added missing shebang to halias.bash.
Added default transfer mode for auto-optimization.
Deactivated error output of sed for now. The corresponding TODO need to be fixed.