moved editframe to index so it would autoload