using system to call bash