removing print statements, making curl silent, etc