Fixed permission issues in FV-related area in stack.sh script
Fixed minor typo error in whale lib script