added quick env check. will do it properly.. later