Changed endpoint script order to create keys later