added script name detection/conversion
version 0.04