Fixes invalid dockblock
Adds restriction to env variables