bug fixed for shallow flash; add local (-F) for shallow flash