added console script for common use