Invalid environment variable values should return an error instead of running

Summary

Currently the environment variables still work even if the value is wrong, e.g. FORCE_HYPERLINKS=sure will work but it will not force hyperlinks, ideally we want to return an error that an invalid value is supplied and exit early.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information