Updating Bluepill script and fixing minor bugs.