added bg script