some modification on the script for manually bring up