Update some cardiotrainer script logic.
Ignore configuration and data directories.