Easy rollback and teardown in bash