works with outside phone
re-added status check
deleted a bunch of puts
added action to /continue section
added timeouts
partially moved over from global vars