checks if interface is default before trying to set it as default
added command delay option