acca.py: Initial version of script