minor improvements, allow comments in scripts