use exec_path insted of BWA_DIR.  some documentation. use python style string formatting instead of c style string formatting