Moved index script to min.'s