added self executing function and changed width/heigth