added prewired script