threaded.sh alignment issues