Adds an option to use a keyscript instead of a keyfile