Moving environment check to call location

Moved the user prompt of the application environment into the target
that it is needed in, since it is only one and does not need to be
prompted from every command