added script to convert this to core module