Put command-line argument processing on fewer lines.
Use correct scripts for stacking and playing.