Making max_moves specifiable by environment variable
Merge remote-tracking branch 'origin/dev' into dev