Adding min file and changed a bit of code