flat iron application code