adding replicated functionality
Merge branch 'master' of https://github.com/gingsmith/ALS_debug