doing aes-ecb in one script