dynamic creation of lsc file