Add bootstrap script and script to repair file permission