cleanedup code and created opt_aarch64_linux.sh