use bash directly to run code