adjusts generate file