cleaned up styles and output file directory